libxl: add is_default checkers for string and timer_mode types
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 28 Sep 2017 11:04:06 +0000 (12:04 +0100)
committerRoger Pau Monne <roger.pau@citrix.com>
Thu, 28 Sep 2017 11:04:06 +0000 (12:04 +0100)
commitbfbc4b64afb83713b6340efbd7adda3087bcc2f6
tree69b8018a32cad163209957dc416b02a39dd156fa
parent71b7b4e0f5f9d0f7e4fe10871393febefb93c8c4
libxl: add is_default checkers for string and timer_mode types

Those types are missing a helper to check whether a definition of the
type holds the default value. This will be required by a later patch
that will implement deprecation of fields inside of a libxl type.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/idl.py
tools/libxl/libxl_internal.h
tools/libxl/libxl_types.idl